package com.maserb.monitor.service.jwQuestion.impl;

import com.maserb.monitor.entity.jwQuestion.JwQuestionItemUserEntity;
import com.maserb.monitor.repository.JwQuestion.JwQuestionUserItemRepository;
import com.maserb.monitor.service.base.impl.JpaSpecificationServiceImpl;
import com.maserb.monitor.service.jwQuestion.JwQuestionItemUserService;
import com.maserb.monitor.service.jwQuestion.JwQuestionUserService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JwQuestionItemUserServiceImpl extends JpaSpecificationServiceImpl<JwQuestionUserItemRepository,
        JwQuestionUserItemRepository, JwQuestionItemUserEntity, String>
        implements JwQuestionItemUserService {

    @Override
    public List<JwQuestionItemUserEntity> findByQuestionUserId(String questionUserId) {
        return this.repository.findByQuestionUserId(questionUserId);
    }
}